
// CabinServiceImpl.java
package com.flight.model.service.impl;
import com.flight.model.dao.CabinDAO;
import com.flight.model.dao.impl.CabinDAOImpl;
import com.flight.model.entity.Cabin;
import com.flight.model.service.CabinService;
import java.util.List;
public class CabinServiceImpl implements CabinService {
    private CabinDAO cabinDAO = new CabinDAOImpl();
    @Override
    public List<Cabin> getByFlightNo(String flightNo) {
        return cabinDAO.getByFlightNo(flightNo);
    }
}
